home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / programmierung / gadutil / docs / gutilinfo.txt < prev    next >
Text File  |  1996-05-31  |  8KB  |  179 lines

  1.  
  2.                             GadUtil.library v37.5
  3.                             ~~~~~~~~~~~~~~~~~~~~~
  4.     GadUtil is another gui library which main goal was to make it easy to
  5.     create font sensitive user interfaces. The library has grown away from
  6.     this main goal, and become another useful-routine-library.
  7.  
  8.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  9.     Distribution:
  10.  
  11.         1) Distribution of this library is allowed in two ways:
  12.              ¹) Only the .library file(s)
  13.              ²) The complete distribution
  14.  
  15.         2) Programmers of totally free software can use and distribute this
  16.           library for free.
  17.  
  18.         3) Programmers of Shareware, Licensware, commercial products and other
  19.            programs that the programmer get any kind of profit from shall send
  20.            a fully working (and registered) copy of the program and its docs to
  21.            us. All larger updates of the program should also be sent to us.
  22.           
  23.         4) Programmers of non-free software not covered by 1) and 2) (my Diskware
  24.            concept belongs to this group) shall be treated as in 3) (a fully
  25.            working and registered copy...).
  26.  
  27.         5) All programs (except commercial products in some cases) must state
  28.            that gadutil.library is used. This may be done in either the About
  29.            requester or in the documentation, but best of all in both places.
  30.  
  31.            Demonstration programs for gadutil.library (that includes the full
  32.            source) may be distributed without this note.
  33.  
  34.            Example for inclusion in About requester:
  35.  
  36.                 "This program uses gadutil.library, which
  37.                  is Copyright © 1994-1996 by P-O Yliniemi
  38.                  and Staffan Hämälä."
  39.  
  40.         6) All localized programs that uses this library should include the
  41.            .ct file(s) to allow anyone to translate that program into their
  42.            own language.
  43.  
  44.  
  45.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  46.     Below is a list of some of the main functions covered by this library.
  47.  
  48.     * FAST (NO OR VERY SMALL DIFFERENCE AGAINST GADTOOLS) AND SMALL (LESS THAN 10k).
  49.       WRITTEN IN ASSEMBLY LANGUAGE. NO F*CKING 'C' or any other slow language!
  50.  
  51.     * Font adaptive. Use any of the system fonts and most other fonts for
  52.       gadgets, texts and menus. All gadgets are placed relative to each
  53.       other, but can be placed at absolute positions (needed for the first
  54.       gadget).
  55.  
  56.     * No need to use GIMMEZEROZERO windows, as this is automatically handled
  57.       by the library. If you specify a gadget position of 10,10 the gadget
  58.       will be placed at 10,10 within the window's border.
  59.  
  60.     * Localized. It is really easy to localize all your (new) programs by
  61.       using this library. Functions and macros for creating localized menus
  62.       are supplied.
  63.  
  64.     * Both assembly and 'C' language support. This is one of the things that is
  65.       missing in most of the other gui libraries. Some extra macros are defined
  66.       for assembly language users, and will make the gadget and menu creating
  67.       process even more easy.
  68.  
  69.     * All GadTools gadgets are supported. Some extra functions are provided
  70.       for ListViews. BUTTON_KIND (and IMAGE_KIND) gadgets have some extra tags,
  71.       including a toggle-select option.
  72.  
  73.       5 extended gadget types are handled by the library:
  74.     
  75.         · FILE_KIND     - gadget for selecting a file.
  76.  
  77.         · DRAWER_KIND   - gadget for selecting a drawer. Most programs also
  78.                          use this gadget for file selection.
  79.  
  80.         · IMAGE_KIND    - uses an intuition image for the gadget. Can use
  81.                           different images for selected and non-selected state.
  82.  
  83.         · BEVELBOX_KIND - gadtools bevelboxes, with some extensions. All
  84.                           gadtools bevelboxes are supported (even with v37).
  85.                           Extensions allows text to be placed above, in or below
  86.                           the upper line of the box. All kinds can be inverted.
  87.  
  88.                           New for v36.52: Bevelbox text placement extended.
  89.                           3 new placements available together with the old
  90.                           ones: centered, left adjusted & right adjusted.
  91.  
  92.                           BFT_BUTTON   - GT v37 BUTTON_KIND border
  93.                           BFT_RIDGE    - GT v37 STRING_KIND border
  94.                           BFT_DROPBOX  - GT v39 BBFT_ICONDROPBOX border
  95.                           BFT_HORIZBAR - A horizontal shadowed line
  96.                           BFT_VERTBAR  - A vertical shadowed line
  97.  
  98.                           This makes it a total of 100 bevel box types. The bevel
  99.                           boxes are treated as gadgets by the library, and you
  100.                           can obtain the structure for the bevelbox in the same
  101.                           way as you get the gadget pointer.
  102.  
  103.                           New for v36.53: Added optional shadow on bevel box text.
  104.                           The shadow has a selectable color/pen and the "sun" can
  105.                           be placed in four different positions.
  106.  
  107.         · PROGRESS_KIND - progress indicator gadget. Background and fill color
  108.                           can be selected. Supports values up to 4.294.967.295,
  109.                           but maximum value should not exceed 4.294.967.295/width.
  110.                           v36.55.
  111.  
  112.     · LABEL_KIND    - a text label that can be placed relative to other texts,
  113.               gadgets, bevelboxes and progress indicators.
  114.  
  115.     * Can create the minimum required IDCMP mask so that all gadgets works.
  116.  
  117.     * A new OpenFont (graphics.library and diskfont.library replacement) is supplied.
  118.       This function will open any font (from RAM, ROM or load it from disk).
  119.  
  120.     * Functions for listviews include adding nodes (memory for the string is
  121.       allocated by the function), counting nodes, getting node pointers, clearing
  122.       a listview, attach and detach lists, moving nodes up and down. A function
  123.       that allows you to sort one or two lists is included from v36.59.
  124.  
  125.     * No need to open gadtools.library anymore, since all gadtools functions are
  126.       provided through this library. Some (the most useable) functions from locale
  127.       library are also provided by gadutil.
  128.  
  129.     * Many libraries are opened through gadutil.library, and these library bases
  130.       are available for your own use (you don't have to open or close some libs).
  131.  
  132.     * All gadgets are created using tag lists. Every next gadget will use the
  133.       previous gadgets values as defaults. Only one call to the gadget making
  134.       routine is needed for every gadget list.
  135.  
  136.     * All gadgets can have their own hotkey. No extra work is needed by the
  137.       programmer (only one extra tag).
  138.  
  139.     * Distributed with lots of examples, mostly in assembly language, but also
  140.       in 'C'.
  141.  
  142.     * Other functions include:
  143.  
  144.         · Status change for toggle select buttons.
  145.  
  146.         · String change for STRING and TEXT_KIND gadgets.
  147.  
  148.         · Disable functions for all gadget kinds (new for 36.56).
  149.  
  150.         · Routines to set up a busy-pointer (available for both v37 and v39). These
  151.           routines also blocks the input to the main window of the program.
  152.  
  153.         · Routine to check if the mouse pointer is within a gadgets box. Useful
  154.           for mouse-position sensitive appwindows.
  155.  
  156.         · Bevelbox and window refreshing functions.
  157.  
  158.     · Functions to clear and size/move windows
  159.  
  160.     * FAST (NO OR VERY SMALL DIFFERENCE AGAINST GADTOOLS) AND SMALL (LESS THAN 10k).
  161.       WRITTEN IN ASSEMBLY LANGUAGE. NO F*CKING 'C' or any other slow language!
  162.  
  163.  
  164.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  165.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166.         Per-Olof Yliniemi                           Staffan Hämälä
  167.         Box 78                                      Pellovägen 268
  168.         S-980 61 Tärendö                            S-957 93 Pello
  169.         SWEDEN                                      SWEDEN
  170.  
  171.         email:                                      email:
  172.           peoyli@pluggnet.se                          staham@pluggnet.se
  173.  
  174.         phone:
  175.           +46-(0)978-20522
  176.  
  177.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179.